﻿@model Repid.Entity.Basic.BasicUser

<form id="muser-form" class="form-edit" method="post">
    <div class="form-title panel-body">用户信息</div>
    <div class="form-row fn-clear">
        <div class="form-box">
            <input name="Name" class="easyui-textbox" data-options="required:true,prompt:'请输入用户名称'" value="@Model.Name" />
            <span class="form-info">用户的职责或姓名，或根据需要随意填写。</span>
        </div>
    </div>
    <div class="form-row fn-clear">
        <div class="form-box">
            <div class="thumbbox" style="width:88px;">
                <img height="88" src="/userfiles/head/@Model.Head" />
                <div class="thumbtextbtn">上传头像</div>
                <div class="thumbfilelist"></div>
            </div>
            <input type="hidden" id="img_dir" value="/head/" />
            <input type="hidden" id="img_width" value="88" />
            <input type="hidden" id="img_height" value="88" />
            <input type="hidden" id="img_file" name="Head" value="@(Model.Head)" />
        </div>
    </div>
    <div class="form-row fn-clear">
        <div class="form-box">
            <input id="muser-username" name="UserName" class="easyui-textbox" data-options="required:true,prompt:'请输入登录账号',validType:'username'" value="@Model.UserName" />
            <span class="form-info">登录后台系统所使用的用户名。</span>
        </div>
    </div>
    <div id="muser-password" class="form-row fn-clear">
        <div class="form-box">
            <input name="PassWord" type="password" class="easyui-textbox" data-options="required:true,prompt:'请输入登录密码',validType:'minLength[6]'" />
            <span class="form-info">用户的初始密码，请妥善保管。</span>
        </div>
    </div>
    <div class="form-row fn-clear">
        <div class="form-box">
            <input name="Mail" class="easyui-textbox" data-options="prompt:'请输入邮件地址',validType:'email'" value="@Model.Mail" />
            <span class="form-info">目前后台用户的唯一联系方式记录。</span>
        </div>
    </div>
    <div class="form-row fn-clear">
        <div class="form-box">
            <input name="Remark" class="easyui-textbox" data-options="multiline:true,prompt:'请输入描述信息',height:80" value="@Model.Remark" />
        </div>
    </div>
    <input name="ID" type="hidden" value="@Model.ID" />
    <input name="Tag" type="hidden" value="@Model.Tag" />
    <input name="IsSuper" type="hidden" value="@Model.IsSuper.ToString()" />
    <input name="IsEnabled" type="hidden" value="@Model.IsEnabled.ToString()" />
    <input name="InsertTime" type="hidden" value="@Model.InsertTime" />
    <input name="UpdateTime" type="hidden" value="@Model.UpdateTime" />
</form>